package mc933.proj.clickposition;

import android.content.Context;
import android.location.Location;
import android.location.LocationListener;
import android.os.Bundle;

public class GPSLocationListener implements LocationListener {

	private Context context;
	private Location lastLocation;

	public GPSLocationListener (Context context) {
		this.context = context;
		this.lastLocation = null;
	}

	@Override
	public void onLocationChanged(Location location) {
		this.lastLocation = location;
	}

	@Override
	public void onProviderDisabled(String provider) {}

	@Override
	public void onProviderEnabled(String provider) {}

	@Override
	public void onStatusChanged(String provider, int status, 
			Bundle extras) {}
	
	public Context getContext () {
		return this.context;
	}

}